<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <form action="/login" method="post">
        <input placeholder="输入用户名：" name="name"><br>
        <input placeholder="密码：" name="pass"><br>
        <input type="submit">
    </form>

    <span th:text="${session.msg}"></span>
</body>
</html>